package com.example.taluo.entity.dto.gamedto;

import io.netty.channel.Channel;

/*** @Author supersaiya
 * @Description TODO

 * @Date 2025/2/21 22:31

 * @Version 1.0*/
public class Player {
    private String userId;
    private String username;
    private Channel channel;

    public Player(String userId, String username, Channel channel) {
        this.userId = userId;
        this.username = username;
        this.channel = channel;
    }

    // Getter 和 Setter 方法
    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Channel getChannel() {
        return channel;
    }

    public void setChannel(Channel channel) {
        this.channel = channel;
    }
}